package com.sxkf.core.third.im.service;

import com.sxkf.core.third.im.entity.AddFriend;
import com.sxkf.core.third.im.entity.SendMessage;
import com.sxkf.core.third.im.entity.SysNotice;
import com.sxkf.core.third.im.entity.UpdateUser;

public interface YxService {
    String register(String accountId);

    String refreshToken(String accountId);

    Boolean sendMessage(String senderId, String receiverId, SendMessage sendMessage);

    Boolean updateUser(String accountId, UpdateUser user);

    Boolean sendNotify(String content);

    Boolean sendSysNotice(SysNotice sysNotice);

    Boolean addBlack(String accountId, String contactAccountId);

    Boolean removeBlack(String accountId, String contactAccountId);

    Boolean addFriend(Integer type, AddFriend addFriend);

    Boolean removeFriend(String accountId, String friendAccountId);

    Boolean updateFriend(String accountId, String friendAccountId, String alias);

    Boolean deleteRoom(Long cid);

    Boolean queryUserOnline(String accountId, String[] accountIds);
}
